Checks that classes (except abstract one) define a constructor and don't rely on the default one.